package org.fuys.coder.domain.favorites.repository;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.favorites.repository
 * @className: IUserFavoriteRepository
 * @author: WangJing
 * @description: 用户收藏夹仓储
 * @date: 2024/6/19 18:18
 * @version: 1.0
 */
public interface IUserFavoriteRepository {
    public boolean saveRecord(Integer userId, Long favoriteId);

    boolean checkBelong(Integer userId, Long favId);

    List<Long> getUserFavIds(Integer userId);
}
